import Vue from "vue";
import App from "./App";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import router from "./router";
import store from "./store";
import permissionMatch from "./util/permision";
Vue.use(permissionMatch); // 权限校验
Vue.config.productionTip = false;
Vue.use(ElementUI, {
  size: "medium",
  menuType: "text"
});
new Vue({
  router,
  store,
  render: h => h(App),
  data: {
    eventBus: new Vue()
  }
}).$mount("#app");
